AnnieRoot.gresult = AnnieRoot.gresult || {};
AnnieRoot.gresult.UserGameResultDataShow = function () {
    var s = this;
    annie.Sprite.call(s);
    /*_a2x_need_start*/s.cow0=null;s.cow1=null;s.cow2=null;s.cow3=null;s.cow4=null;s.cow5=null;s.cow6=null;s.mobileIcon=null;s.txt1=null;s.txt2=null;/*_a2x_need_end*/
    annie.initRes(s, "gresult", "UserGameResultDataShow");
    //your code here
    s.addEventListener(annie.Event.ADD_TO_STAGE, function (e) {
        s.txt1.text = "";//普通牛
        s.txt2.text = "";//手机牛
		var ranDom=Math.random()*10>>0;
        if (ranDom>5) {
            s.mobileIcon.gotoAndStop(2);
        } else {
            s.mobileIcon.gotoAndStop(1);
        }
    })
};
annie.A2xExtend(AnnieRoot.gresult.UserGameResultDataShow, annie.Sprite);
AnnieRoot.gresult.UserGameResultDataShow.prototype.changeCowHeadIconStatus = function (num) {
    var s = this;
    if (num > 7) {
        num = 7;
    }
    for (var i = 0; i < num; i++) {
        s["cow" + i].gotoAndStop(2);
    }
};
